package io.virtualapp.hook_sdk.models;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.util.ArrayList;

@XStreamAlias("WhitelistAll")
public class WhitelistAll {

    @XStreamImplicit(itemFieldName="Whitelist")
    public ArrayList<Whitelist> Whitelist;

    @XStreamAlias("Whitelist")
    public static class Whitelist{
        @XStreamAsAttribute() @XStreamAlias("url")
        public String url;

    }

    @Override
    public String toString() {
        return "WhiteBean{" +
                "Whitelist=" + Whitelist +
                '}';
    }
}
